﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Core.Business;

namespace TicketManagement.Home
{
    public partial class Download : System.Web.UI.Page
    {
        private DownloadBus bus;
        protected void Page_Load(object sender, EventArgs e)
        {
            bus = new DownloadBus();
            if (!IsPostBack) {
                this.loadData();
            }
        }
        public void loadData() {
            listDownload.DataSource = bus.getAll();
            listDownload.DataBind();
        }
    }
}